WPPayForm\App\Modules\PaymentMethods\Stripe\StripeHostedHandler A

Total Complexity 73
Dependencies 15
Dependents 3
Total lines 518
Lines of code 380
Logical lines of code 228
Comment lines 25
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
redirectToStripe()
B
35 16 81
getSubscriptionArgs()
B
36 16 79
getLineItems()
A
42 10 57
handleCheckoutSessionSuccess()
A
42 9 52
syncSubscription()
S
47 5 35
maybeSetCancelAt()
S
54 5 20
markPaymentSuccess()
S
56 4 19
showSuccessMessage()
S
55 4 19
getIntentMetaData()
S
61 3 13
registerHooks()
S
71 1 5